import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { DictService } from './dict-config/dict.service';
import { DictController } from './dict-config/dict.controller';
import { Dict } from 'src/database/entitys/dict.entity';
import { DictData } from 'src/database/entitys/dict-data.entity';
import { DictDataService } from './dict-data/dict-data.service';
import { DictDataController } from './dict-data/dict-data.controller';

@Module({
  imports: [TypeOrmModule.forFeature([Dict, DictData])],
  controllers: [DictController, DictDataController],
  providers: [DictService, DictDataService],
})
export class DictModule {}
